-
Notifications
You must be signed in to change notification settings - Fork 58
Bump to KCL v2.7.2 #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Bump to KCL v2.7.2 #109
Conversation
This commit sets up the development environment for the logstash-input-kinesis plugin. It includes: - .envrc: Configures JRuby, Logstash paths, AWS credentials (optional), and adds vendor jars to the classpath. - .ruby-version: Specifies JRuby version. - Makefile: Defines common tasks (install, test, clean). - Rakefile: Uses jar-dependencies to manage Java dependencies. The Jars::Installer.new.vendor_jars! method is now called with `write_require_file: false` to prevent writing a require file.
- Migrate to Kinesis Client Library (KCL) v2.7.2 - Add support for custom endpoint configuration - Improve LocalStack and testing compatibility - Update AWS SDK dependencies and configuration - Enhance error handling and logging - Refactor worker and record processing logic - Add integration test infrastructure Update to 2.7.2
|
💚 CLA has been signed |
Done! |
|
Can't see any of the travis CI logs.. so 🤷 |
Both jobs failed with the same error, look like there's something broken in the CI |
|
May I ask, how to run the bundle to get the gem generated ? Then I ran I did try AI to try help me, but still no luck. This is the complete log |
|
Hello @felixho1 , I use fedora locally + logstash installed via rpm + direnv (that creates the required environment for building it). That said, I also included a Dockerfile so that the build process can be done independently of the "outside" environment. For that, you just need to have docker available and run: $ docker build --target builder-kinesis --tag builder-kinesis .
$ docker run -ti -v $(pwd)/output:/output --entrypoint bash builder-kinesis -c "cp /build/logstash-input-kinesis-*.gem /output/"
$ ls -lah output/*gem
-rw-r--r--. 1 root root 66M Jan 24 15:14 output/logstash-input-kinesis-3.0.0-java.gem |
|
@nunofernandes Thank you so much for your help raising the PR. And thank you for the tips to build with docker. |
Release notes
Upgrade Logstash Kinesis Input Plugin to AWS Kinesis Client Library (KCL) v2.7.2. This major version upgrade introduces enhanced compatibility with AWS SDK v2, improved LocalStack testing support, and more robust endpoint configuration.
What does this PR do?
Why is it important/What is the impact to the user?
This PR fixes an impending EOL on the AWS KCL v1*.
Checklist
Author's Checklist
How to test this PR locally
You need to have docker compose and make.
Related issues
Use cases
n/a
Screenshots
n/a
Logs
Been running that in the last 24 hours without issues. Log volume is +70k logs / minute.